
const defaultState = {
    userInfo: {},
    wolletList:[
      {tit:"借钱",num:10,unit:"万",alt:"最高可借"},
      {tit:"联名卡",num:720,unit:"元",alt:"升卡最高领"},
      {tit:"绑卡立减",num:157,unit:"元",alt:"享优惠"}
    ],
    recommend:[
      {id:1,icon:"#icon-kefu",name:"我的客服"},
      {id:2,icon:"#icon-dizhi",name:"我的地址"},
      {id:3,icon:"#icon-naozhong",name:"点餐提醒"},
      {id:4,icon:"#icon-zan",name:"推荐有奖"},
      {id:5,icon:"#icon-huiyuan1",name:"品牌会员"},
      {id:6,icon:"#icon-qiye",name:"企业版"},
      {id:7,icon:"#icon-lingquan",name:"领券中心"},
      {id:8,icon:"#icon-hezuo",name:"商务合作"},
      {id:9,icon:"#icon-huiyuan",name:"尊享权益"},
      {id:10,icon:"#icon-qishou",name:"骑手招募"},
      {id:11,icon:"#icon-5_10cishangongyi",name:"公益3小时"},
      {id:12,icon:"#icon-zhangdan",name:"本地生活"}
    ]
  };
  export default function (state = defaultState, action) {
    let newState = JSON.parse(JSON.stringify(state));
    switch (action.type) {
      default:
        break;
    }
    return newState;
  }